package com.itheima.demo_junit;

/**
 * @author Zhang_Han
 * @version 1.0
 * @date 2020/7/20 19:12
 */
public class Demo_003 {
    public static void main(String[] args) {
        long sum = 0;
        for (int i = 1; i <= 1000000; i++) {
            sum += i;
        }
        System.out.println(sum);
    }
}
